package com.smartcommunity.entity.villagegroup;

import com.smartcommunity.bean.entity.Camera;
import com.smartcommunity.entity.ac.AccessDevice;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
@Api(value = "小区设备的分组")
public class VillageGroup {

    @ApiModelProperty(value = "主键id")
    private Long id;
    @ApiModelProperty(value = "节点父id， 直属小区的不用填写")
    private Long parentId;
    @ApiModelProperty(value = "分组名称")
    private String name;
    @ApiModelProperty(value = "小区编号")
    private String villageCode;
    @ApiModelProperty(value = "显示顺序")
    private Long index;
    @ApiModelProperty(value = "修改时间")
    private Date mrowtime;
    @ApiModelProperty(value = "设备列表",hidden = true)
    private List<GroupDevice> groupDevices;

    @ApiModelProperty(value = "设备列表")
    private List<Camera> cameraList;

    @ApiModelProperty(value = "设备列表")
    private List<AccessDevice> DeviceList;

}


